package com.wondream.myframework.thread;

/**
 * 第一种创建线程的方式-继承Thread
 */
public class ThreadTest1 extends Thread{
    public static void main(String[] args) {
        Thread thread = new ThreadTest1();
        thread.start();
    }

    @Override
    public void run() {
        System.out.println("第一种创建线程的方式-继承Thread");
    }
}
